﻿using Avalonia.Media;

namespace Mesen.Config;

public static class EventViewerColors
{
	public static Color[] Colors => _colors;

	private static readonly Color[] _colors = new Color[] {
		//Pairs
		Color.FromRgb(0x00, 0x6E, 0x8E),
		Color.FromRgb(0x78, 0xA5, 0xB2),

		Color.FromRgb(0x97, 0x75, 0x00),
		Color.FromRgb(0xB7, 0xAA, 0x7B),

		Color.FromRgb(0x2D, 0x92, 0x3D),
		Color.FromRgb(0x6A, 0xAF, 0x7B),

		Color.FromRgb(0x96, 0x45, 0x45),
		Color.FromRgb(0xD3, 0x4F, 0x4F),

		Color.FromRgb(0xE5, 0xCF, 0x2B),
		Color.FromRgb(0xFA, 0xFF, 0x39),

		Color.FromRgb(0xD7, 0x2C, 0x2F),
		Color.FromRgb(0xFF, 0x16, 0x1A),

		Color.FromRgb(0xF5, 0xFF, 0x72),
		Color.FromRgb(0xFD, 0xFF, 0xB3),

		Color.FromRgb(0x41, 0xCE, 0xDB),
		Color.FromRgb(0xC9, 0xFF, 0xFD),

		Color.FromRgb(0x9D, 0x6D, 0xC2),
		Color.FromRgb(0x84, 0x73, 0xC0),

		Color.FromRgb(0x5D, 0xE3, 0x3C),
		Color.FromRgb(0xC4, 0xF4, 0x7A),

		Color.FromRgb(0xC7, 0x80, 0x00),
		Color.FromRgb(0xFF, 0x8C, 0x00),

		Color.FromRgb(0xBE, 0x52, 0xC0),
		Color.FromRgb(0xFC, 0x5E, 0xC6),

		Color.FromRgb(0x00, 0xFF, 0x7F),
		Color.FromRgb(0x1A, 0xB0, 0x3D),

		Color.FromRgb(0x9F, 0xCC, 0xA4),
		Color.FromRgb(0xC7, 0xFF, 0xC4),

		//Single colors
		Color.FromRgb(0xFF, 0xA5, 0x62),
		Color.FromRgb(0x03, 0x35, 0xFF),
		Color.FromRgb(0x00, 0x8C, 0xBB),
	};
}
